package com.gitee.sop.sdk.open.param;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author: Admin
 * @date: 2021/3/17
 * @description:
 * @copyright: 重庆万蓝兴科技有限公司
 */
public class LoginParam {
    @ApiModelProperty(required = true, notes = "验证码", example = "952727")
    private String sendCode;
    @ApiModelProperty(required = true, notes = "登录/注册类型；手机/邮箱+验证码 或者 账号+密码 （phone/email/pwd）；当为phone/email时，表示下发验证码登录/注册；当为pwd时，表示账号密码登录", example = "phone")
    private String loginType;
    @ApiModelProperty(required = true, notes = "验证码接收者（邮箱/手机号/用户账号）", example = "151233***3")
    private String username;
    @ApiModelProperty(notes = "扩展信息，JSON对象")
    private JSONObject extData;

    public String getSendCode() {
        return sendCode;
    }

    public void setSendCode(String sendCode) {
        this.sendCode = sendCode;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public JSONObject getExtData() {
        return extData;
    }

    public void setExtData(JSONObject extData) {
        this.extData = extData;
    }
}
